package com.example.demo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/user2")
public class User2 {
    @RequestMapping("hello")
    public String say(String id,String name){
        return "id : "+id+" | "+"name : "+name;
    }
}
